% demo1

% 随机生成100x100的反对角矩阵
Data=(rand(100)-.5).*(rand(100)>.978);
Data(1:30,:)=Data(1:30,:).*3;
Data=tril(Data)-tril(Data)';
% 生成100x1列向量，分类标签为1-10
Class=(1:10).*ones(10,1);
Class=Class(:);

% 基础绘图
BD=bubbleDigraph(Data,Class);
BD=BD.draw();

% BD.setBubble('MarkerFaceAlpha',.2,'MarkerEdgeColor',[0,0,0])
% BD.setBubbleColor(turbo(10))
% colormap(bone)
bubblesize([5,25])
